package com.atguigu.gulimall.member.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

//告诉nacos中的服务名
@FeignClient("gulimall-coupon")
public interface CouponFeignService {

    /**
     * 远程调用需要写上调用的方法的完整路径
     * @return
     */
    @RequestMapping("/coupon/coupon/member/list")
    public R membercoupons();

}
